<?php
	if(!defined('BASEPATH'))
		exit('No direct script access allowed');
	
	if(!function_exists('css_url'))
	{
		function css_url($nom)
		{
			return base_url().'assets/css/'.$nom.'.css';
		}
	}
	
	if(!function_exists('js_url'))
	{
		function js_url($nom)
		{
			return base_url().'assets/javascript/'.$nom.'.js';
		}
	}
	
	if(!function_exists('img_url'))
	{
		function img_url($nom, $extension)
		{
			return base_url().'assets/images/'.$nom.'.'.$extension;
		}
	}
	
	if(!function_exists('textes_url'))
	{
		function textes_url($nom, $extension)
		{
			return base_url().'assets/textes/'.$nom.'.'.$extension;
		}
	}
	
	if(!function_exists('textes_chemin'))
	{
		function textes_chemin($nom, $extension)
		{
			return 'assets/textes/'.$nom.'.'.$extension;
		}
	}
?>